package apiday02.wapper;

public class WapperDemo1 {

	public static void main(String[] args) {
		/*
		 * 包装类型
		 */
		Integer i = new Integer(5);
		Integer j = Integer.valueOf(5);
		Integer k = 5;
		//拆包
		int n = i.intValue();
		int m = j;
		System.out.println(n); //基本类型
		System.out.println(m); //基本类型

		System.out.println(i); //包装类型
		System.out.println(j); //包装类型

		Object d = i;
		double x = (double) d;

		Character ch = Character.valueOf('好');
		char c = ch;

		Byte bx = new Byte((byte)5);
		Byte by = 5;
	}

}




